from passlib.context import CryptContext



pwd_context = CryptContext(schemes=['bcrypt'])

def create_password(_password:str) -> str:
    return pwd_context.hash(_password)


def verify_password(_password, original_password: str) -> bool:
    return pwd_context.verify(_password, original_password)